package com.wn.class30.mapper;

import com.wn.class30.entity.UserCupon;
import com.wn.class30.entity.UserCuponExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UserCuponDao {
    long countByExample(UserCuponExample example);

    int deleteByExample(UserCuponExample example);

    int deleteByPrimaryKey(Integer ucId);

    int insert(UserCupon record);

    int insertSelective(UserCupon record);

    List<UserCupon> selectByExample(UserCuponExample example);

    UserCupon selectByPrimaryKey(Integer ucId);

    int updateByExampleSelective(@Param("record") UserCupon record, @Param("example") UserCuponExample example);

    int updateByExample(@Param("record") UserCupon record, @Param("example") UserCuponExample example);

    int updateByPrimaryKeySelective(UserCupon record);

    int updateByPrimaryKey(UserCupon record);
}